﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dbPoll_Application.Models.Question>" %>

    <div class="right">
        <ul class="rightColumnList" id="objectSettingsList">
            <li class="rightColumnListHeading"><h2>Question Objects</h2></li>
            <li class="rightColumnListItem">Countdown Timer
                <span>
                <%= Html.HiddenFor(m => m.countdownTimer.objectID)%>
                <%= Html.TextBoxFor(m => m.countdownTimer.countdownAmount, new { @class = "countdownAmount" })%>
                <%= Html.CheckBoxFor(m => m.countdownTimer.active)%>
                </span></li>
            <li class="rightColumnListItem">Response Counter
                <span>
                <%= Html.HiddenFor(m => m.responseCounter.objectID)%>
                <%= Html.CheckBoxFor(m => m.responseCounter.active)%>
                </span></li>
            <li class="rightColumnListItem">Correct Answer Indicator
                <span>
                <%= Html.HiddenFor(m => m.correctAnswerIndicator.objectID)%>
                <%= Html.CheckBoxFor(m => m.correctAnswerIndicator.active)%>
                </span></li>
            <li class="rightColumnListItem">Response Grid
                <span>
                <%= Html.HiddenFor(m => m.responseGrid.objectID)%>
                <%= Html.DropDownListFor(m => m.responseGrid.show, new SelectList(new String[2]{"Name", "DeviceID"})) %>
                <%= Html.CheckBoxFor(m => m.responseGrid.active)%>
                </span></li>
        </ul>
    </div>